16. Quizzes: Integration Testing
Quizzes: Integration Testing
QUIZ QUESTION::
Sort the types of automated testing.
ANSWER CHOICES:
Description |
Testing Type |
---|---|
Scope: Narrow |
|
Scope: Moderate |
|
Scope: Broad |
SOLUTION:
Description |
Testing Type |
---|---|
Scope: Moderate |
|
Scope: Narrow |
|
Scope: Broad |
SOLUTION:
- Calling `userService.saveUser(user)` and then checking if the value was written to the database.
- Using WireMock to supply a value in response to an http request when `storefrontService` calls the `icecreamPriceAPI.checkCurrentPrice(flavor)` method.